<script>
export default {
  globalData: {
    systemInfo: uni.getSystemInfoSync(), //系统参数
    ws: null,
    line: false,
    location: [],
    rolesObj: null,
  },
  onLaunch: async function () {
    // #ifdef APP-PLUS
    plus.screen.lockOrientation("portrait-primary");
    const dom = weex.requireModule("dom");
    dom.addRule("fontFace", {
      fontFamily: "graceIconfont",
      src: "url('/static/font/grace.ttf')",
    });
    // #endif
  },
  methods: {},
  onShow: function () {},
  onHide: function () {},
};
</script>
<style lang="scss">
/* 加载框架核心样式 */
@import "./Grace6/css/grace.scss";
/* 加载深色模式适配样式 */
@import "./Grace6/css/graceDark.scss";
/* 加载自定义样式 */
@import "./custom/custom.scss";

/* 加载图标字体 - 条件编译模式 */
/* #ifdef APP-PLUS-NVUE */
.gui-icons {
  font-family: graceIconfont;
}

/* #endif */
/* #ifndef APP-NVUE */

// page {
// 	background-image: -webkit-linear-gradient(bottom, #cde575, #e9e4d1) !important;
// 	/* Safari 5.1 - 6.0 */
// 	background: -o-linear-gradient(bottom, #cde575, #e9e4d1);
// 	/* Opera 11.1 - 12.0 */
// 	background: -moz-linear-gradient(bottom, #cde575, #e9e4d1);
// 	/* Firefox 3.6 - 15 */
// 	background-image: linear-gradient(to bottom, #cde575, #e9e4d1) !important
// }

/* #endif */

.order-status.nopay {
  color: #a4a7a3;
}

.order-status.waitSend {
  color: #80baf5;
}
.order-status.waitReceive {
  color: #318dd8;
}

.order-status.success {
  color: #31d608;
}
.order-status.error {
  color: #ff0015;
}

.order-status.refund {
  color: #fa538b;
}
</style>
